package com.aiyige.base;

import android.content.Context;
import android.text.TextUtils;

import com.aiyige.utils.ToastX;

/**
 * Created by xiachao on 2017/9/27.
 */

public class BaseUtil {


    public static boolean isEmpty(CharSequence s) {
        return TextUtils.isEmpty(s);
    }

    public static boolean notEmpty(CharSequence s) {
        return !TextUtils.isEmpty(s);
    }

    protected static void showToast(Context context,String string) {
        ToastX.show(context,string);
    }
}
